package com.campus.common.message;

import com.campus.common.vo.Student;

import java.io.Serializable;

public class StudentRegisterRequest extends BaseMessage implements Serializable  {
    private String username=new String();
    private String password=new String();
    private Student student=new Student();

    public StudentRegisterRequest(String username,String password,Student student) {
        this.username=username;
        this.password=password;
        this.student.setStudentId(student.getStudentId());
        this.student.setStudentName(student.getStudentName());
        this.student.setAcademicRecord(student.getAcademicRecord());
    }
    public String getUsername() {return username;}
    public void setUsername(String username) {this.username = username;}
    public String getPassword() {return password;}
    public void setPassword(String password) {this.password = password;}
    public Student getStudent(){return this.student;}
    public void setStudent(Student student){this.student = student;}

}